#ifndef _GL_MD3_H
#define _GL_MD3_H

/*
 * md3 header
 *
 */

typedef int aliasoffset_t;

typedef struct alias3data_s {
     int		    numSurfaces;		// size of tables
     aliasoffset_t	ofsSurfaces[1];		// subsurfaces header table : allocated at loading time
} alias3data_t;

aliashdr_t *Mod_GetSurface (model_t *mod, int i);
model_t *Mod_GetSubModel (model_t *mod, int i);

#endif
